//
//  ViewController.m
//  Tip
//
//  Created by 黄星 on 15/12/4.
//  Copyright © 2015年 qingfanqie. All rights reserved.
//

#import "ViewController.h"
#import "TipTool.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)click:(UIButton *)sender {
    
//    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(10, 100, 100, 100)];
//    label.backgroundColor = [UIColor redColor];
//    
//    [self.view addSubview:label];
    [TipTool showTip:@"这是一个提示"];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
